PATHMac OS 8 and 9 Developer Documentation > Files > Folder Manager >

Folder Manager Reference


Folder Manager Gestalt Selector

Before calling any Folder Manager functions, your application should pass the selector gestaltFindFolderAttr to the Gestalt function to determine which Folder Manager functions are available.


enum {
    gestaltFindFolderAttr   = 'fold'
};

Constant description

gestaltFindFolderAttr
The Gestalt selector passed to determine whether the Folder Manager is available. Produces a value whose bits you should test to determine what Folder Manager functionality is available:
enum {
    gestaltFindFolderPresent    = 0,
    gestaltFolderDescSupport    = 1
};

Constant descriptions

gestaltFindFolderPresent
If this bit is set, the basic Folder Manager functionality defined by the functions FindFolder and ReleaseFolder is available. This bit is set for versions of the Mac OS prior to Mac OS 8.
gestaltFolderDescSupport
If this bit is set, the extended Folder Manager functionality supporting folder descriptors and routings is available. This bit is set for versions of the Mac OS starting with Mac OS 8.

© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)